#include "mainwindow.h"

#include <QApplication>
#include <windows.h>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    MainWindow w;
    OldThread oldThread(&w);
    EvenThread evenThread(&w);

    w.show();

    Sleep(1000);
    oldThread.start();
    evenThread.start();
    return a.exec();
}
